package net.starwifi.duobao.web;

import net.starwifi.duobao.mvc.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

/**
 * https通道
 * Created by Administrator on 2015/10/9.
 */
@Controller("paymentPaymentController")
public class PaymentController extends BaseController {


    /**
     * 信息填写页面
     */
    @RequestMapping(value = "/webPay", method = RequestMethod.GET)
    public  String payment(HttpServletRequest request) {
        return "payment/info";
    }


    /**
     * 支付结果页面
     */
    @RequestMapping(value = "/result", method = RequestMethod.GET)
    public  String result(HttpServletRequest request) {
        return "payment/result";
    }


    /**
     * 支付结果页面
     */
    @RequestMapping(value = "/error", method = RequestMethod.GET)
    public  String error(HttpServletRequest request) {
        return "payment/error";
    }

}
